We include immunity against fire as a new parameter into the self-organized critical forest-fire model. When the immunity assumes a critical value, clusters of burnt trees are identical to percolation clusters of random bond percolation. As long as the immunity is below its critical value, the asymptotic critical exponents are those of the original self-organized critical model, i.e. the system performs a crossover from percolation to self-organized criticality. We present a scaling theory and computer simulation results.